package com.cloudkinto.dto.product;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author long
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ProductCategoryExportDto {
    @Excel(name = "一级分类（Primary Category）", fixedIndex = 0, width = 30)
    private String oneLevelCategory;

    @Excel(name = "二级分类（Secondary Category）", fixedIndex = 1, width = 30)
    private String twoLevelCategory;

    @Excel(name = "三级分类（Tertiary category）", fixedIndex = 2, width = 30)
    private String threeLevelCategory;

    @Excel(name = "创建时间（Creation time）", fixedIndex = 3, exportFormat = "yyyy-MM-dd HH:mm:ss", width = 30)
    private Date createTime;
}
